package main

import (
	"blog/model"
	"blog/router"
	"blog/utils"
)

func main() {
	model.InitDb()
	router := router.InitRouter()
	ip := utils.Config.HttpIp
	port := utils.Config.HttpPort
	router.Run(ip + ":" + port)
}
